export const 组件名前缀 = 'Ve'
// export const 组件名前缀 = 'A'
export const 样式名前缀 = 've'

export const 组件名 = {
  DROPDOWN: 组件名前缀 + "Dropdown",
};

export const EMIT_EVENTS = {
  FILTER_RESET: "on-filter-reset",
  FILTER_CONFIRM: "on-filter-confirm",
  VISIBLE_CHANGE: "on-dropdown-visible-change",
  ITEM_SELECT_CHANGE: "on-item-select-change",
};

export const KEY_CODES = {
  BACK_SPACE: 8,
  TAB: 9,
  ENTER: 13,
  SHIFT: 16,
  SPACE: 32,

  ARROW_LEFT: 37,
  ARROW_UP: 38,
  ARROW_RIGHT: 39,
  ARROW_DOWN: 40,

  DELETE: 46,

  F2: 113,
};

export const ICON_NAMES = {
  FILTER: "filter",

  DOUBLE_RIGHT_ARROW: "double-right-arrow",
  DOUBLE_LEFT_ARROW: "double-left-arrow",

  TOP_ARROW: "top-arrow",
  RIGHT_ARROW: "right-arrow",
  BOTTOM_ARROW: "bottom-arrow",
  LEFT_ARROW: "left-arrow",

  SORT_TOP_ARROW: "sort-top-arrow",
  SORT_BOTTOM_ARROW: "sort-bottom-arrow",

  SEARCH: "search",
};

export const MOUSE_EVENT_CLICK_TYPE = {
  LEFT_MOUSE: 1,
  MIDDLE_MOUSE: 2,
  RIGHT_MOUSE: 2,
};
